 *{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body{
	font-size: 14px;
	font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', '微软雅黑', Tahoma, Arial, sans-serif;
}
ul{
	list-style: none;
}
a{
	text-decoration: none;
}
.transition{
	transition: all .5s;
	-moz-transition: all .5s; /* Firefox 4 */
	-webkit-transition: all .5s; /* Safari 和 Chrome */
	-o-transition: all .5s; /* Opera */
}
#left{
	position: absolute;
	left: 0;
	top: 0;
	width: 220px;
	height: 100%;
	background-color: #20222A;
	color: #ccc;
	a{
		color: #ccc;
		&:hover{
			color: #fff;
		}
	}
	.logo{
		color: #ccc;
		font-size: 16px;
		font-weight: bold;
		text-align: center;
		height: 50px;
		line-height: 50px;
		overflow: hidden;
	}
	.menu-side{ 
		ul{
			li{
				position: relative;
				a{
					display: block;
					height: 56px;
					line-height: 56px;
					overflow: hidden;
					i{
						display: inline-block;
						width: 40px;
						text-align: center; 
					}
					span{
						display: block;
						height: 56px;
						line-height: 56px;
						position: absolute;
						right: 10px;
						top: 0;
					}
				}
				dl{
					display: none;
					padding-left: 40px;
					dt{
						a{
							display: block;
							height: 40px;
							line-height: 40px;
						}
					}
				}
				&.open{
					background-color: #17181E;
					>a{
						border-left: 2px solid #19A2F6;
						color: #fff;
					}
					dl{
						display: block;
					}
					span{ 
						transform: rotate(180deg);
						-webkit-transform: rotate(180deg);
						-moz-transform: rotate(180deg);
						-o-transform: rotate(180deg);
						-ms-transform: rotate(180deg);
					}
				}
			}
		}
	}
	// 缩进
	&.retract{
		width: 40px;
		.menu-side{
			ul{
				li{
					a{
						span{
							display: none;
						}
					}
					&:hover{
						dl{ 
							display: block;
							position: absolute;
							top: 8px;
							left: 40px;
							background-color: #17181E;
							padding-left: 0;
							width: 100px;
							text-align: center;
						}
					}
				}
			}
		}
	}
}
#right{
	margin-left: 220px;
	#head{
		height: 50px;
		line-height: 50px;
		padding: 0 15px;
		border-bottom: 1px solid #f6f6f6;
		a{
			color: #333;
		}
		.admin-box{  
			position: absolute; 
			right: 0;
			top: 0; 
			padding: 0 20px;
			ul{
				display: none;
			}
			&.open{
			background-color: #333; 
				ul{
					display: block;
				}
			}
		}
	}
	#main{
		iframe{
			display: block;
			width: 100%;
			height: 100%;
		}
	}
}